package org.mayanjun.code.easyweb.springmvc.io;

import java.io.File;
import java.io.InputStream;
import java.util.Map;

/**
 * FileUpload
 *
 * @author mayanjun(11/10/15)
 */
public interface FileUploader {

	void deleteFile(File file);

	void deleteFile(String path);

	String saveFile(InputStream in, String fileName);

	String getBaseURL();

	void zipFile(String fileName, Map<String, File> files);

	String generateFileName(String originalFileName);
}
